package com.atguigu.eduservice.entity.chapter;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author He Wentao
 * @since 2022/8/25 19:26
 */

@Data
@NoArgsConstructor
public class ChapterVo {

    private String id;

    private String title;

    // 表示小结
    private List<VideoVo> children = new ArrayList<>();

    public ChapterVo(String id,String title){
        this.id = id;
        this.title = title;
    }
}
